﻿using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;

namespace DevManager.StatusBars;

public partial class StandardStatusBar : UserControl
{
    public StandardStatusBar(string info)
    {
        InitializeComponent();
        StatusBlock = this.FindControl<TextBlock>("StatusBlock");
        StatusBlock!.Text = info;
    }
}